home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / imap / ANSI / ms / make.ms next >
Text File  |  1997-02-28  |  2KB  |  60 lines

  1. # Program:    MS client Makefile
  2. #
  3. # Author:    Mark Crispin
  4. #        Networks and Distributed Computing
  5. #        Computing & Communications
  6. #        University of Washington
  7. #        Administration Building, AG-44
  8. #        Seattle, WA  98195
  9. #        Internet: MRC@CAC.Washington.EDU
  10. #
  11. # Date:        11 May 1989
  12. # Last Edited:    13 March 1996
  13. #
  14. # Copyright 1996 by the University of Washington
  15. #
  16. #  Permission to use, copy, modify, and distribute this software and its
  17. # documentation for any purpose and without fee is hereby granted, provided
  18. # that the above copyright notice appears in all copies and that both the
  19. # above copyright notice and this permission notice appear in supporting
  20. # documentation, and that the name of the University of Washington not be
  21. # used in advertising or publicity pertaining to distribution of the software
  22. # without specific, written prior permission.  This software is made
  23. # available "as is", and
  24. # THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  25. # WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  26. # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  27. # NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  28. # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  29. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  30. # (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  31. # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  32.  
  33.  
  34. C = ../c-client
  35. CCLIENTLIB = $C/c-client.a
  36. SHELL = /bin/sh
  37.  
  38. CCMD = ../../../ccmd
  39.  
  40. # Get local definitions from c-client directory
  41.  
  42. CC = `cat $C/CCTYPE`
  43. CFLAGS = -I$C -I$(CCMD) `cat $C/CFLAGS`
  44. LDFLAGS = $(CCMD)/ccmd.a $(CCLIENTLIB) -ltermlib `cat $C/LDFLAGS`
  45.  
  46. ms: $(CCLIENTLIB) ms.o $(CCMD)/ccmd.a
  47.     $(CC) $(CFLAGS) -o ms ms.o $(LDFLAGS)
  48.  
  49. ms.o: $C/mail.h $C/smtp.h $C/rfc822.h $C/misc.h $C/osdep.h
  50.  
  51. $(CCLIENTLIB):
  52.     cd $C;make
  53.  
  54. clean:
  55.     rm -f *.o ms
  56.  
  57. # A monument to a hack of long ago and far away...
  58. love:
  59.     @echo 'not war?'
  60.